package top.zsyle.sycc.service;

import top.zsyle.sycc.domain.CourseOrder;
import com.baomidou.mybatisplus.service.IService;
import top.zsyle.sycc.dto.CourseOrderDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhongshiyi
 * @since 2023-01-09
 */
public interface ICourseOrderService extends IService<CourseOrder> {

    String placeOrder(CourseOrderDto courseOrderDto);

    void insertCourseOrderAndCourseOrderItem(CourseOrder courseOrder);

    CourseOrder selectByOrderNo(String orderNo);
}
